Optimal. Leaf size=44 \[ \frac {d \left (a+b \log \left (c x^n\right )\right )^2}{2 b n}+a e x+b e x \log \left (c x^n\right )-b e n x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.05, antiderivative size = 44, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {2346, 2301, 2295} \[ \frac {d \left (a+b \log \left (c x^n\right )\right )^2}{2 b n}+a e x+b e x \log \left (c x^n\right )-b e n x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2295
Rule 2301
Rule 2346
Rubi steps
\begin {align*} \int \frac {(d+e x) \left (a+b \log \left (c x^n\right )\right )}{x} \, dx &=d \int \frac {a+b \log \left (c x^n\right )}{x} \, dx+e \int \left (a+b \log \left (c x^n\right )\right ) \, dx\\ &=a e x+\frac {d \left (a+b \log \left (c x^n\right )\right )^2}{2 b n}+(b e) \int \log \left (c x^n\right ) \, dx\\ &=a e x-b e n x+b e x \log \left (c x^n\right )+\frac {d \left (a+b \log \left (c x^n\right )\right )^2}{2 b n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.00, size = 43, normalized size = 0.98 \[ a d \log (x)+a e x+\frac {b d \log ^2\left (c x^n\right )}{2 n}+b e x \log \left (c x^n\right )-b e n x \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 45, normalized size = 1.02 \[ \frac {1}{2} \, b d n \log \relax (x)^{2} + b e x \log \relax (c) - {\left (b e n - a e\right )} x + {\left (b e n x + b d \log \relax (c) + a d\right )} \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.23, size = 49, normalized size = 1.11 \[ b n x e \log \relax (x) + \frac {1}{2} \, b d n \log \relax (x)^{2} - b n x e + b x e \log \relax (c) + b d \log \relax (c) \log \relax (x) + a x e + a d \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 46, normalized size = 1.05 \[ -b e n x +b e x \ln \left (c \,{\mathrm e}^{n \ln \relax (x )}\right )+a d \ln \relax (x )+a e x +\frac {b d \ln \left (c \,{\mathrm e}^{n \ln \relax (x )}\right )^{2}}{2 n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.74, size = 41, normalized size = 0.93 \[ -b e n x + b e x \log \left (c x^{n}\right ) + a e x + \frac {b d \log \left (c x^{n}\right )^{2}}{2 \, n} + a d \log \relax (x) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 3.59, size = 40, normalized size = 0.91 \[ a\,d\,\ln \relax (x)+e\,x\,\left (a-b\,n\right )+b\,e\,x\,\ln \left (c\,x^n\right )+\frac {b\,d\,{\ln \left (c\,x^n\right )}^2}{2\,n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.51, size = 58, normalized size = 1.32 \[ a d \log {\relax (x )} + a e x + \frac {b d n \log {\relax (x )}^{2}}{2} + b d \log {\relax (c )} \log {\relax (x )} + b e n x \log {\relax (x )} - b e n x + b e x \log {\relax (c )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________